package com.lushu.chapitre1.dialogue.nodes.subCondition
{
	import com.lushu.chapitre1.dialogue.nodes.SubConditionNode;

	public class HasAffectionNpcCondition extends SubConditionNode
	{
		public var usrID_ : int = 0;
		public var npcID_ : int;
		public var affectionQte_ : int;
		
		public function HasAffectionNpcCondition()
		{
			type_ = "subCondition"
			subConditionType_ = "hasAffectionNpc";
		}
		
		public override function setInformation(value : XML) : void
		{
			npcID_ = value.@npcID;
			usrID_ = value.@usrID;
			affectionQte_ = value.@affectionQte;
		}

	}
}